package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCourseDownloadLogsDao;
import com.wfcm.entity.WfCourseDownloadLogsEntity;
import com.wfcm.service.WfCourseDownloadLogsService;



@Service("wfCourseDownloadLogsService")
public class WfCourseDownloadLogsServiceImpl implements WfCourseDownloadLogsService {
	@Autowired
	private WfCourseDownloadLogsDao wfCourseDownloadLogsDao;
	
	@Override
	public WfCourseDownloadLogsEntity queryObject(Integer id){
		return wfCourseDownloadLogsDao.queryObject(id);
	}
	
	@Override
	public List<WfCourseDownloadLogsEntity> queryList(Map<String, Object> map){
		return wfCourseDownloadLogsDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCourseDownloadLogsDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCourseDownloadLogsEntity wfCourseDownloadLogs){
		wfCourseDownloadLogsDao.save(wfCourseDownloadLogs);
	}
	
	@Override
	public void update(WfCourseDownloadLogsEntity wfCourseDownloadLogs){
		wfCourseDownloadLogsDao.update(wfCourseDownloadLogs);
	}
	
	@Override
	public void delete(Integer id){
		wfCourseDownloadLogsDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCourseDownloadLogsDao.deleteBatch(ids);
	}
	
}
